<html>
<head>
	<title>xa-ncsu | calendar</title>
</head>
<body>
<?=$this->validation->error_string;?>
	<p style="text-align:center;">Delete Event?<p>
	<form id="deleteEvent" action="<?=site_url("calendar/deleteEvent/$id/$redirect")?>" method="post" style="text-align:center;">
		<? if($repeating_id=='no' || $repeating_id==null): ?>
		<input type="submit" name="submit" value="Yes" style="width:100px; height:40px; margin:5px;"/><input type="submit" name="submit" value="Cancel" style="width:100px; height:40px; margin:5px;"/>
		<input type="hidden" name="id" id="id" value="<?=$id;?>" />
		<input type="hidden" name="redirect" id="redirect" value="<?=$redirect;?>" />
		<? else: ?>
		<input type="submit" name="submit" value="Delete This Only" style="width:118px; height:40px; margin:5px;"/><input type="submit" name="submit" value="Delete All" style="width:118px; height:40px; margin:5px;"/><input type="submit" name="submit" value="Cancel" style="width:118px; height:40px; margin:5px;" onclick="tb_remove();return false;"/>
		<input type="hidden" name="id" id="id" value="<?=$id;?>" />
		<input type="hidden" name="redirect" id="redirect" value="<?=$redirect;?>" />
		<?endif;?>
	</form>
</body>
</html>